Inside Macintosh: QuickTime Components

Previous | Chapter Top | Chapter Contents | Next

Opening a Connection to a Standard Image-Compression Dialog Component

As is the case with all components, your application must establish a connection to a standard image-compression dialog component before you can use its services. As with other components, you use the Component Manager's OpenDefaultComponent functions to connect to a component. You must use the Component Manager's CloseComponent function to close your application's connection when you are done.

Apple provides constants that define the component type and subtype values for standard image-compression dialog components. All of these components have a type value of ' scdi '; you can use the StandardCompressionType constant to specify this value. These components have a subtype value of 'imag' ; the StandardCompressionSubType constant defines this value.


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next